Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Base image files] All 'docker exec' wrapper scripts now dynamically adjust their flags depending on whether or not they are run on a terminal #1507

Merged
merged 1 commit into from
Mar 17, 2018

Conversation

jleveque
Copy link
Contributor

Passing -t flag to docker exec will fail if the command is being called when no on a terminal (e.g., from systemctl or cron).

This commit will dynamically add the t flag if it is determined that the command is being executed on a terminal. Otherwise, it will only pass the i (interactive) flag.

…adjust their flags depending on whether or not they are run on a terminal
@lguohan lguohan merged commit e1cb2ac into sonic-net:master Mar 17, 2018
@jleveque jleveque deleted the fix_docker_exec_wrappers branch March 17, 2018 18:38
qiluo-msft added a commit that referenced this pull request Mar 17, 2021
Included commits:
```
0d5fb48 2021-03-16 | [show] Fix 'show mac' output, when FDB entry with Vlan 1 is present (#1507) [maksymbelei95]
```
theasianpianist pushed a commit to theasianpianist/sonic-buildimage that referenced this pull request Feb 5, 2022
I re-added the copy_file method that was removed in a recent refactor.
Buildimage tests depend on this method, so subsequent submodule updates will fail.

Signed-off-by: Danny Allen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants